
const TokenKey = 'token';
const Feright = 'Feright';
const order = 'orderRoundList';
export const getToken = () => {
  const data = localStorage.getItem(TokenKey) ? JSON.parse(localStorage.getItem(TokenKey)) : null;
  return data;
};

export const getUserdata = () => {
  const data = localStorage.getItem(order) ? JSON.parse(localStorage.getItem(order)) : null;
  return data;
};

 export const getFeright = () => localStorage.getItem(Feright);

 export const setFeright = name => localStorage.setItem(Feright, name);


